
Function Setup
/* Assumes cms messages file is created in same order each time. */
Create two lists, prev and curr, initially empty
Load the cmsmessage file into prev.

Function processMessages
    Load the cms message file into curr
    Reset Results
    For idx in 1 to length(curr)

      IF prev[idx] is empty and curr[idx] not empty THEN
            append to results: "Activated", ID, curr[idx]
      IF curr is empty and prev not empty THEN
            append to results: "Deactivated", ID
      IF curr not empty and prev not empty and curr not equal prev THEN
            append to results: "Updated", ID, curr

    END

    Copy curr to prev


